package com.socket.socketObjTest;

import java.io.Serializable;

/**
 * User--bdqnPractice
 *
 * @author: Jovi
 * @createTime: 2017-09-07 14:26
 **/
public class User implements Serializable {

    private static final long serialVersionUID = -2720429117623662152L;

    private String name;

    private int id;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", id=" + id +
                '}';
    }
}
